
CFLAGS = -g -Wall -Wextra $(OFLAGS) $(XFLAGS)
OFLAGS = -DDEBUG
PACKCC=./packcc


all : gvplain

# option --debug to packcc

gvplain:
	$(PACKCC) --debug gvplain.peg
	$(CC) $(CFLAGS) gvplain.c -o gvplain
	cat t.plain |./gvplain

clean :
	rm -f *~ *.o
	rm -v -f gvplain
	rm -v -f gvplain.c
	rm -v -f gvplain.h

